traffic-type ipip

Configures the ipip header type to be matched for traffic classification.

Syntax

traffic-type ipip ip [ A.B.C.D | X:X::X:X | any ]
traffic-type ipip mode [ decap | new-scope ]
no traffic-type ipip [ ip | mode ]

Parameters

ipip
Specifies the ipip header to be matched for classifying the packet.
ip
Specifies the actions for matching packets.
A.B.C.D
Specifies the IPv4 address.
X:X::X:X
Specifies the IPv6 address.
any
Specifies any source IP address.
mode
Specifies the actions for matching packets.
decap
Removes the encapsulated header.
new-scope
Shifts the scope of headers to inner headers for further processing.

Modes

Ingress-group config mode

Usage Guidelines

Validations for the command are as follows:

Examples

The following examples configures the ipip traffic type.

device(config-ingress-group)# traffic-type ipip ip 192.168.2.1 255.255.255.0 192.168.3.2 255.255.255.0 

device# show ingress-group ing 

    Name : ing 
             Route-Map : - 
           Description : - 
            Interfaces : none 
          Traffic-Type : IPIP 
             Tunnel-Id : any 
                  Mode : none 
   Destination-ip-addr : 192.168.3.2 
   Destination-ip-mask : 255.255.255.0 
        Source-ip-addr : 192.168.2.1 
        Source-ip-mask : 255.255.255.0